]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
xdndHandler: Ensure that the XDnD clone is on top of the panel
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 3 Mar 2013 19:15:28 +0000 (14:15 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sun, 3 Mar 2013 20:41:52 +0000 (15:41 -0500)
The panel is added to the uiGroup, not the overlay group, so
to stack on top of it, we need to add ourselves to the uiGroup
as well.

https://bugzilla.gnome.org/show_bug.cgi?id=695073

js/ui/xdndHandler.js

index e9f3612695010cf406d108ba49789d146a36684a..85af2faeb36155454e58533b968308247d338e98 100644 (file)
@@ -68,7 +68,7 @@ const XdndHandler = new Lang.Class({
                                                                    source: cursorWindow});
 
             this._cursorWindowClone = new Clutter.Clone({ source: cursorWindow });
-            global.overlay_group.add_actor(this._cursorWindowClone);
+            Main.uiGroup.add_actor(this._cursorWindowClone);
             Shell.util_set_hidden_from_pick(this._cursorWindowClone, true);
 
             // Make sure that the clone has the same position as the source